#nullable enable

using System;
using PHMEE.Diagnosis;

namespace PHMEE.Entities.Diagnosis;

public class WaveDataAlarmEigenValue
{
    public DateTime Ts { get; set; }

    #region 加速度有效值
    
    /// <summary>
    /// 加速度有效值
    /// </summary>
    public float AccRms { get; set; }

    /// <summary>
    /// 加速度有效值预警值
    /// </summary>
    public float AccRmsWarning { get; set; }

    /// <summary>
    /// 加速度有效值报警值
    /// </summary>
    public float AccRmsAlarm { get; set; }

    #endregion 加速度有效值

    #region 加速度平均峰值
    
    /// <summary>
    /// 加速度平均峰值
    /// </summary>
    public float AccAvgPeak { get; set; }

    /// <summary>
    /// 加速度平均峰值预警值
    /// </summary>
    public float AccAvgPeakWarning { get; set; }

    /// <summary>
    /// 加速度平均峰值报警值
    /// </summary>
    public float AccAvgPeakAlarm { get; set; }
    
    #endregion 加速度平均峰值

    #region 速度有效值

    /// <summary>
    /// 速度有效值
    /// </summary>
    public float VelRms { get; set; }

    /// <summary>
    /// 速度有效值预警值
    /// </summary>
    public float VelRmsWarning { get; set; }

    /// <summary>
    /// 速度有效值报警值
    /// </summary>
    public float VelRmsAlarm { get; set; }

    #endregion 速度有效值
    
    /// <summary>
    /// 加速度包络平均峰值
    /// </summary>
    public float AccEnvAvgPeak { get; set; }

    /// <summary>
    /// 报警等级
    /// </summary>
    public AlarmLevel AlarmLevel { get; set; }
}